package 工厂模式;

public class Multiplication extends Operation {
    @Override
    public double getResult() {

        System.out.println("乘法");
        return numberA * numberB;
    }
}
